package com.augurit.gzcgwsp.rqqyjyxk.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.augurit.gzcgwsp.rqqyjyxk.dao.YwRqQyjyxkFinalRypbqkDao;
import com.augurit.gzcgwsp.rqqyjyxk.entity.YwRqQyjyxkFinalRypbqk;
import com.augurit.gzcgwsp.rqqyjyxk.service.IYwRqQyjyxkFinalRypbqkService;

/**
 * 广州市燃气经营许可证许可审批------七、1 人员配备情况
 * @author xgw
 *
 */
@Service("rypbqkService")
@Transactional
public class YwRqQyjyxkFinalRypbqkServiceImpl implements IYwRqQyjyxkFinalRypbqkService {
	@Autowired
	private YwRqQyjyxkFinalRypbqkDao rypbqkDao;
	/**
	 * 保存 七、1 人员配备情况
	 * @param ywRqQyjyxkRypbqk
	 */
	public void save(YwRqQyjyxkFinalRypbqk entity) {
		rypbqkDao.save(entity);
	}
	
	
    
	public List<YwRqQyjyxkFinalRypbqk> getEntitysByQyid(Long gyzid){
        String hql = "from YwRqQyjyxkFinalRypbqk t where t.gyzid='" + gyzid + "'";
        List<YwRqQyjyxkFinalRypbqk> entityList = rypbqkDao.find(hql);
        return entityList;
    }

}
